home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970626-19970929
/
000263_news@newsmaster….columbia.edu _Sat Aug 30 04:41:12 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id EAA27602
for <kermit.misc@watsun.cc.columbia.edu>; Sat, 30 Aug 1997 04:41:12 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id EAA27195
for kermit.misc@watsun; Sat, 30 Aug 1997 04:41:11 -0400 (EDT)
Path: news.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!eerie.fr!oleane!calvacom!not-for-mail
From: do11@calva.net (Dominique Ottello)
Newsgroups: comp.protocols.kermit.misc
Subject: read \&c[1] does not change the value of the array element
Date: Sat, 30 Aug 1997 08:36:02 GMT
Organization: PCatHome&Me
Lines: 29
Message-ID: <3405a590.4114629@news.calvacom.fr>
Reply-To: do11@calva.net
NNTP-Posting-Host: par12.calvacom.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: Forte Agent 1.5/32.451
Xref: news.columbia.edu comp.protocols.kermit.misc:7580
Hello, it seems there is a problem with read {array element} with MS-DOS
Kermit 3.15
The command for \%i 1 4 1 {read \&c[\%i]} does not change the content of
the array element, the command for \%i 1 4 1 {read \%a,assign \&c[\%i] \%a}
does
Comments please.
Best regards,
for \%i 1 4 1 {assign \&c[\%i] Line \%i}
for \%i 1 4 1 {Echo {Must be Line : \&c[\%i]}}
echo
open write ENTRYPTS.DAT
for \%i 1 4 1 {write file Line \%i\13\10}
close write-file
;
for \%i 1 4 1 {assign \&c[\%i] Test \%i}
for \%i 1 4 1 {Echo {Must be Test : \&c[\%i]}}
echo
open read ENTRYPTS.DAT
for \%i 1 4 1 {read \&c[\%i]}
close read-file
for \%i 1 4 1 {Echo {Must be Line : \&c[\%i]}}
echo
== Dominique Ottello == do11@calva.net == Paris == France ==